package me.zhengjie.kwService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import me.zhengjie.pojo.dto.PageDto;
import me.zhengjie.pojo.dto.StaffCheckDto;
import me.zhengjie.pojo.entity.Exam;
import me.zhengjie.pojo.vo.FindAllExamRoomVo;
import me.zhengjie.pojo.vo.RoomTearcherStudentVo;
import me.zhengjie.util.BaseResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Long
 * @date 2021/7/7 9:45
 */
public interface PhoneStaffService {
    /**
     * 考务人员查询考试
     * @param dto 分页信息
     * @return 考试
     */
    IPage<Exam> getExam(PageDto dto,HttpServletRequest request);

    /**
     * 考务人员查询该场考试的自己要校验的考场信息
     * @param id 考试id
     * @return 考场信息
     */
    FindAllExamRoomVo findAllExamRoom(Integer id,HttpServletRequest request);

    /**
     * 考务人员查询该考场的信息
     * @param id 考场id
     * @return 该考场相关信息
     */
    RoomTearcherStudentVo findOneExamRoom(Integer id);

    /**
     * 考务人员校验考场
     * @param dto 校验信息
     *
     */
    BaseResponse check(StaffCheckDto dto, HttpServletRequest request);
}
